<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/derek-tags" prefix="dk" %>
<dk:WarPath/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">  

  <head>
    
    <title>My JSP 'index.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="stylesheet" type="text/css" href="${_WarPath }/css/Main.css" />
	<link rel="stylesheet" type="text/css" href="${_WarPath }/css/dialog.css" />
	<link rel="stylesheet" type="text/css" href="${_WarPath}/css/power_modify.css" />
	<link href="${_WarPath }/css/base.css" type=text/css rel=stylesheet />
	<link href="${_WarPath }/css/account.css" type=text/css rel=stylesheet />
	<link rel=stylesheet type=text/css href="${_WarPath }/css/jquery.alerts.css" media=screen />
	<script src="${_WarPath }/js/jquery-1.4.js" type="text/javascript"></script>
	<script src="${_WarPath }/jsp/user/login.js" type="text/javascript"></script>
	<script type="text/javascript" src="js/ct.js"></script>
	<script type="text/javascript" src="js/popupDiv.js"></script>
	<script type="text/javascript" src="${_WarPath }/jsp/user/js/zxcz1.js"></script>
	<script type="text/javascript">
		
		$(function(){
			
			setDefaultValue();
			var requestUrl = "/xinlu/user/zxczAction.html";
			$("input[type='button']").bind("click", function(){
				
				var message = "向平台付款成功点击确定,没付款点取消,乱点的冻结账号!";
				
				if(confirm(message)){
					
					$("#doAction").val('userZxcz');
					
					$.ajax({
						url : requestUrl,
						type : "post",
						dataType : "json",
						async : false,
						cache  : false,
						data : $("#czForm").serialize(),
						error : function(error){
							alert(error.responseText);
							alert('网络发生异常,请重试....');
						},
						success : function(data){
							
							if(data == '1'){
								alert('充值的用户不存在!');
								
							}else{
								alert('充值成功!');
								window.location.href = '/xinlu/jsp/frame/index.jsp';
							}
						}
					});
					
				}
			});
		});
		
		function setDefaultValue(){
			var czfs = "<%=request.getParameter("czfs")%>";
			var jiner = "<%=request.getParameter("jiner")%>";
			
			$("#czfs").val(czfs);
			$("#jiner").val(jiner);
			
			$("." + czfs).css("display", "block");
		}
		
		function copyText(obj){
			
		     if(navigator.userAgent.indexOf("MSIE")>0) {
		      	window.clipboardData.setData('text',obj); 
		   		alert("【" + obj + "】 复制成功");
		    }else{
		    	alert('此浏览器不支持复制功能,请使用IE浏览器！');
		    } 
		   	
		　　
		}
	</script>
  </head>
  
  <body>
  	<%=request.getParameter("czfs")%>
    	<div id="content_bg" align="center">
			<div id="warpper">
				<div id="content">
					<div id="header">
						<%@ include file="../frame/top.jsp" %>
					</div>	
					<div id="mainBody" style="background:#A244OE;">
						<%@ include file="zxcz_main1.jsp" %>
					</div>
					<div id="footer">
						<%@ include file="../frame/footer.jsp" %>
					</div>
				
				</div>
			</div>
		</div>		
    
  </body>
</html>
